import { Divider } from 'antd';

// children参数接受传递的dom值
function Header({ children }) {
  return (
    <>
      <h1>Header</h1>
      <div>
        {
          children
        }
      </div>
      <Divider />
    </>
  )
}

export default Header;